package com.hutianao.gqgl.role.service;

import com.hutianao.gqgl.mybatis.entity.PtRoleEntity;
import com.hutianao.gqgl.mybatis.flexigrid.PaddingEntity;
import com.hutianao.gqgl.mybatis.flexigrid.PadingRstType;
import com.hutianao.gqgl.role.entity.SearchRoleEntity;
import com.hutianao.gqgl.mybatis.ztree.ZtreeEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleService {
    PadingRstType<PtRoleEntity> queryRoleInfoListByPage(SearchRoleEntity search, PaddingEntity padding);

    List<ZtreeEntity> queryMenuTree(String roleUuid);

    void saveRoleRefMenu(String roleUuid, String menuIds);

    void addRoleInfo(PtRoleEntity ptRoleEntity);

    void modifyRoleInfo(PtRoleEntity ptRoleEntity);

    void deleteRoleById(String roleUuidArray);
}